package com.theyeasy.dvmini;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@SpringBootApplication
@MapperScan("com.theyeasy.dvmini.dataobject.mapper")
@Controller
public class DvminiApplication {

	@RequestMapping("/")
	public ModelAndView index(){
		return new ModelAndView("/index");
	}

	public static void main(String[] args) {
		SpringApplication.run(DvminiApplication.class, args);
	}
}
